package object;

public class Phone {
    String name;
    int price;
    String color;
    String brand;

    public void setPrice(int price) {
        this.price = price;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getInfo() {
        return name + " " + price + " " + color + " " + brand;
    }
}
